<!--{:var_dump($row)}-->
<table class="table table-striped">
    <thead>
    <tr>
        <th>商品ID</th>
        <th>商品名称</th>
        <th>图片</th>
        <th>规格名称</th>
        <th>单价</th>
        <th>数量</th>
        <th>总价</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    {volist name="row" id="vo"  }
    <tr>
        <td>{$vo.pro_id}</td>
        <td>{$vo.pro_name}</td>
        <td><img class="img-md img-center" src="{$vo.pro_img}"></td>
        <td>{$vo.spec_name}</td>
        <td>{$vo.spec_price}</td>
        <td>{$vo.item_count}</td>
        <td>{$vo.item_price}</td>
        <td>
            {if condition="$order['status'] ==1"}
            <a href="#" class="btn btn-xs btn-primary"
               title="未付款" disabled><i class="fa fa-reply"></i> 未付款</a>
            {elseif condition="$vo['is_refund'] ==1"}
            <a href="#" class="btn btn-xs btn-primary"
               title="已退款" disabled><i class="fa fa-reply"></i> 已退款</a>
            {else/}
                <a href="{:url('',['item_id'=>$vo.id,'ids'=>$order.id])}" class="btn btn-xs btn-primary btn-ajax"
                   title="退款" data-table-id="table" data-field-index="9" data-row-index="0"
                   data-button-index="2" data-confirm="确定要执行该操作?"><i class="fa fa-reply"></i> 退款</a>
            {/if}
        </td>
        </tr>
    {/volist}
    </tbody>
</table>
<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>